package pt.ua.helpdesk.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;

public class Inicio extends Composite {

	public Inicio() {

		final VerticalPanel verticalPanel = new VerticalPanel();
		initWidget(verticalPanel);
		verticalPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
		verticalPanel.setStyleName("loginPanel");

		final VerticalPanel verticalPanel_1 = new VerticalPanel();
		verticalPanel.add(verticalPanel_1);
		verticalPanel_1.setWidth("400");
		verticalPanel_1.setSpacing(5);
		verticalPanel_1.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);

		final Label lblBemVindo = new Label("Bem Vindo!");
		verticalPanel_1.add(lblBemVindo);
		lblBemVindo.setStyleName("section_title");
		lblBemVindo.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);

		final Label lblMessage = new Label("Use e abuse desta plataforma com o objectivo de esclarecer todas as suas dúvidas. Estamos aqui para o ajudar!");
		verticalPanel_1.add(lblMessage);
		lblMessage.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);
		lblMessage.setStyleName("labelComment");

		final HorizontalPanel horizontalPanel = new HorizontalPanel();
		verticalPanel_1.add(horizontalPanel);
		horizontalPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_RIGHT);
		horizontalPanel.setWidth("100%");

		final Label lblAss = new Label("Ass.: Amigos do Noddy");
		horizontalPanel.add(lblAss);
		lblAss.setStyleName("section");
	}

}
